#include "CommonUtils.h"

//获取当前可执行文件所在的路径，并加上\(“\\”是单一字符，转义了)
wxString GetExePath()
{
    wxStandardPaths oAppPath;
    wxString Delimiter = _T("\\");
    wxString PathWithExeName = oAppPath.GetExecutablePath();
    wxChar separator = '\\';
    PathWithExeName= PathWithExeName.BeforeLast(separator);
    PathWithExeName = PathWithExeName + Delimiter;
    return PathWithExeName;
}
